import { defineStore } from 'pinia'

export const useBoxStore = defineStore('boxStore', {
  state: () => ({
    boxCount: 1,
  }),
  actions: {
    increment() {
      this.boxCount++
    },
    decrement() {
      if (this.boxCount > 1) this.boxCount--
    },
  },
})
